<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ include file="/WEB-INF/jsp/struts/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" href="style/home.css" type="text/css">
<script language=javascript src="script/prototype.js"></script>
<script language=javascript src="script/common.js"></script>
<STYLE TYPE="text/css">
#issueList {
border: 2px broove #eee;
margin-top: 1em;
}
#issueList a{
font-size:1em;
color:#330099
}

</STYLE>
<script language="Javascript">
function submitForm(method) {
	location.href="issue.htm?method=" + method;
}
</script>
</head>
<body>
<div id="content">
<div id="content_inner">
<display:table htmlId="issueList" name="issueList" sort="list" 
     class="its" id="issue" requestURI="issue.htm">
<display:setProperty name="basic.empty.showtable" value="true" />
<display:setProperty name="basic.msg.empty_list_row" value="<tr class='empty'><td colspan='{0}'>没有记录</td></tr>"/>
<display:column title="标题" sortable="true" headerClass="sortable">
<img src="images/bullet.gif"/>
<INPUT TYPE="hidden" NAME="issueID" ID="issueID" value="${issue.issueID}" >
<a href="issue.htm?method=edit&issueID=${issue.issueID}"
 title="${fn:escapeXml(issue.content)}">
${issue.topic}
</a>
</display:column>
<display:column property="keywords" title="关键字" sortable="true" headerClass="sortable"/>
<display:column title="类别" sortable="true" headerClass="sortable">
${categories[issue.categoryID].description}
</display:column>
<display:column title="创建时间" sortable="true" headerClass="sortable" style="width:6em">
<fmt:formatDate value="${issue.createTime}" pattern="MM/dd/yy HH:mm:ss"/>
</display:column>
<display:column title="<input type='button' onclick=\"submitForm('add')\" value='添加问题'/>" class="taskOperation" style="white-space:nowrap">
<a href="issue.htm?method=edit&issueID=${issue.issueID}&issueType=${param.issueType}" class="icon_btn pic_edit" title="Edit Task"><span>Edit Item</span></a>
<a href="issue.htm?method=delete&issueID=${issue.issueID}&issueType=${param.issueType}" class="icon_btn pic_delete" title="Delete Task"><span>Delete Item</span></a>
</display:column>
</display:table>
</div></div>
</body>
</html>